var util = require('../../utils/util.js');
Page({
  data: {
    latitude: util.info[0].latitude,
    longitude: util.info[0].longitude,
    hotel: util.info[0].hotel,
    address: util.info[0].address,
    markers: [{
      iconPath: '/images/navi.png',
      id: 0,
      latitude: util.info[0].latitude,
      longitude: util.info[0].longitude,
      width: 50,
      height: 50
    }]
  },
  markertap: function () {
    wx.openLocation({
      latitude: this.data.latitude,
      longitude: this.data.longitude,
      name: this.data.hotel,
      address: this.data.address
    })
  },
  /**
 * 用户点击右上角分享
 */
  onShareAppMessage: function () {

  }
})